﻿   
using System;
using System.Linq;
using System.Text;
using SqlSugar;
  
 namespace Oliving.Edge.Model.Models.XLT
{
    ///<summary>
    ///设备表
    ///</summary> 
    
    [SugarTable("Base_Equipment")]
    [Serializable]
    public class Base_Equipment 
    {
        public Base_Equipment()
        {
        }
           
                            /// <summary> 
                            /// Desc:编号 
                            /// Default: 
                            /// Nullable:False 
                            /// </summary> 
                            
           [SugarColumn(IsPrimaryKey=true,ColumnName="EquipmentId",ColumnDescription="编号",Length=50,ColumnDataType="nvarchar")]
                            public string EquipmentId { get; set; } 
    
                            /// <summary> 
                            /// Desc:项目ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="ProjectId",ColumnDescription="项目ID",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string ProjectId { get; set; } 
    
                            /// <summary> 
                            /// Desc:二维码 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="QRCode",ColumnDescription="二维码",IsNullable=true,ColumnDataType="nvarchar")]
                            public string QRCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备类型ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="CategoryId",ColumnDescription="设备类型ID",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string CategoryId { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备名称 
                            /// Default:((0)) 
                            /// Nullable:False 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="EquipmenName",ColumnDescription="设备名称",Length=50,ColumnDataType="nvarchar")]
                            public string EquipmenName { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="EquipmenCode",ColumnDescription="设备编号",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string EquipmenCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备型号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="Model",ColumnDescription="设备型号",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string Model { get; set; } 
    
                            /// <summary> 
                            /// Desc:机房 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="MachineRoom",ColumnDescription="机房",IsNullable=true,Length=200,ColumnDataType="nvarchar")]
                            public string MachineRoom { get; set; } 
    
                            /// <summary> 
                            /// Desc:安装位置 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="EQAddress",ColumnDescription="安装位置",IsNullable=true,Length=200,ColumnDataType="nvarchar")]
                            public string EQAddress { get; set; } 
    
                            /// <summary> 
                            /// Desc:厂家 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="Factory",ColumnDescription="厂家",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string Factory { get; set; } 
    
                            /// <summary> 
                            /// Desc:出厂日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="FactoryDate",ColumnDescription="出厂日期",IsNullable=true,Length=20,ColumnDataType="nvarchar")]
                            public string FactoryDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:厂家电话 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="FactoryTel",ColumnDescription="厂家电话",IsNullable=true,Length=20,ColumnDataType="nvarchar")]
                            public string FactoryTel { get; set; } 
    
                            /// <summary> 
                            /// Desc:负责人ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="ManageUserID",ColumnDescription="负责人ID",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string ManageUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:表单ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="FromId",ColumnDescription="表单ID",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string FromId { get; set; } 
    
                            /// <summary> 
                            /// Desc:用途 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="AboutUsage",ColumnDescription="用途",IsNullable=true,Length=400,ColumnDataType="nvarchar")]
                            public string AboutUsage { get; set; } 
    
                            /// <summary> 
                            /// Desc:保养内容 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="MaintenanceContents",ColumnDescription="保养内容",IsNullable=true,Length=8000,ColumnDataType="nvarchar")]
                            public string MaintenanceContents { get; set; } 
    
                            /// <summary> 
                            /// Desc:备注 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="Remarks",ColumnDescription="备注",IsNullable=true,Length=8000,ColumnDataType="nvarchar")]
                            public string Remarks { get; set; } 
    
                            /// <summary> 
                            /// Desc:软删除 0未删除，1 已删除 
                            /// Default:((0)) 
                            /// Nullable:False 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="DeleteMark",ColumnDescription="软删除 0未删除，1 已删除")]
                            public int DeleteMark { get; set; } 
    
                            /// <summary> 
                            /// Desc:排序 排序 
                            /// Default:((100)) 
                            /// Nullable:False 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="SortCode",ColumnDescription="排序 排序")]
                            public int SortCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:是否启用 0未启用，1启用 
                            /// Default:((1)) 
                            /// Nullable:False 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="Enabled",ColumnDescription="是否启用 0未启用，1启用")]
                            public int Enabled { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报时间 创建时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="CreateDate",ColumnDescription="填报时间 创建时间",IsNullable=true)]
                            public DateTime? CreateDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报用户ID 创建的用户ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="CreateUserID",ColumnDescription="填报用户ID 创建的用户ID",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string CreateUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:创建的用户名称 创建的用户名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="CreateUserName",ColumnDescription="创建的用户名称 创建的用户名称",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string CreateUserName { get; set; } 
    
                            /// <summary> 
                            /// Desc:最后一次修改时间 修改日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="ModifyDate",ColumnDescription="最后一次修改时间 修改日期",IsNullable=true)]
                            public DateTime? ModifyDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改用户编号 修改用户编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="ModifyUserId",ColumnDescription="修改用户编号 修改用户编号",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string ModifyUserId { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改的用户姓名 修改的用户姓名 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
           [SugarColumn(ColumnName="ModifyUserName",ColumnDescription="修改的用户姓名 修改的用户姓名",IsNullable=true,Length=50,ColumnDataType="nvarchar")]
                            public string ModifyUserName { get; set; } 
 
    }

}
